import request from '../utils/request';
export const getCodeAPI = (mobile) => {
  return request.get('/code', {
    mobile
  })
}

export const loginAPI = (mobile, code) => {
  return request.post('/login', {
    mobile,
    code
  })
}